<?php

require_once(APPPATH.'models/component.php');

class pw_link extends Component
{
    public $id          = 'pw_link';
	public $title       = 'Link';
	public $description = 'Simple link component';
	public $keywords    = 'link a href';

    public $attributes = array(
    	'caption' => array(
            "id"        => 'caption',
            "example"   => "This is the caption"
        ),
        'id' => array(
            "id"        => 'id',
            "example"   => "some_id"
        ),
        'name' => array(
            "id"        => 'name',
            "example"   => "some_name"
        ),
        'url' => array(
            "id"        => 'url',
            "example"   => "entities/edit/1/"
        ),
    	'free' => array(
    		"id"        => 'free',
			"example"   => "title='some link'"
    	)
    );

    public function parseAttributes($post = null)
    {
    	return $post;
    }

} // class pw_link

/* End of file pw_link.class.php */
/* Location: ./components/pw_link/pw_link.class.php */